<%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" errorPage="" %>
<%
response.setHeader("Cache-Control", "no-cache");
response.setHeader("Pragma","no-cache"); //HTTP 1.0
response.setDateHeader ("Expires", 0); //prevents caching at the proxy server
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body>
<div style="background-image:url(pics/20070627104953734.jpg); top:0px; right:0px; height:600px; width:600px; overflow:visible; background-repeat:no-repeat; background-position:right">
<%
// activate old session for use  
HttpSession currentsession = request.getSession(true);
if (currentsession == null) {
%>
<p><%@ include file="nologin_content.jsp" %></p>
<%
} else {
	String userid = (String)currentsession.getAttribute("userid");
	if (userid == null || userid.trim().equals("")){
		%>
		<p><%@ include file="nologin_content.jsp" %></p>
		<%
	} else {
%>
<p>This is the calculations page for <%= currentsession.getAttribute("userid") %></p>
<p></p>
<% 
	}
}
%>
</div>
</body>
</html>
